package cn.com.lyj6851.modules.system.service.dto;

import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 *
 */
@Data
public class PermissionDto implements Serializable{

	private static final long serialVersionUID = 6382470792052911908L;
	private Long id;
	private String name;
	private Long pid;
	private String alias;
	private Timestamp createTime;
	private List<PermissionDto>  children;
	@Override
	public String toString() {
		return "Permission{" +
				"id=" + id +
				", name='" + name + '\'' +
				", pid=" + pid +
				", alias='" + alias + '\'' +
				", createTime=" + createTime +
				'}';
	}
}
